package com.ruoyi.inventory.service;

import java.util.List;

import com.ruoyi.common.core.page.Pages;
import com.ruoyi.common.ehance.MyService;
import com.ruoyi.inventory.domain.DeliveryDetail;

/**
 * 配货单-明细Service接口
 * 
 * @author xwj
 * @date 2024-11-10
 */
public interface IDeliveryDetailService extends MyService<DeliveryDetail> {
    /**
     * 查询配货单-明细
     * 
     * @param id 配货单-明细主键
     * @return 配货单-明细
     */
    public DeliveryDetail selectDeliveryDetailById(Long id);

    /**
     * 查询配货单-明细列表
     * 
     * @param deliveryDetail 配货单-明细
     * @return 配货单-明细集合
     */
    public List<DeliveryDetail> selectDeliveryDetailList(DeliveryDetail deliveryDetail);

    /**
     * 新增配货单-明细
     * 
     * @param deliveryDetail 配货单-明细
     * @return 结果
     */
    public DeliveryDetail insertDeliveryDetail(DeliveryDetail deliveryDetail);

    /**
     * 修改配货单-明细
     * 
     * @param deliveryDetail 配货单-明细
     * @return 结果
     */
    public DeliveryDetail updateDeliveryDetail(DeliveryDetail deliveryDetail);

    /**
     * 批量删除配货单-明细
     * 
     * @param ids 需要删除的配货单-明细主键集合
     * @return 结果
     */
    public int deleteDeliveryDetailByIds(Long[] ids);

    /**
     * 删除配货单-明细信息
     * 
     * @param id 配货单-明细主键
     * @return 结果
     */
    public int deleteDeliveryDetailById(Long id);

    int delete(DeliveryDetail deliveryDetail);

    Pages<DeliveryDetail> queryPage(DeliveryDetail deliveryDetail);

    void deleteDeliveryDetailByDeliveryIds(Long[] deliveryIds);
}
